/****************************************************
*	OSMF Edge Media Player version 1.2.0
* 
*	Author: Emanuele Manco
* 	E-Mail: hello@flashedge.net
*	Web: http://activeden.net/user/flashedge
*  
*****************************************************/

package net.flashedge.utils 
{
	import flash.system.Security;
	
	public class Policies
	{
		
		public function Policies() 
		{

		}
		
		public function load():void {
			
		trace ("Loading security policies...");
		
		Security.allowDomain("www.youtube.com");
		Security.allowDomain("youtube.com");
		Security.allowDomain("s.ytimg.com"); 
		Security.allowDomain("i.ytimg.com"); 
		Security.loadPolicyFile("http://i.ytimg.com/crossdomain.xml"); 
		Security.loadPolicyFile("http://www.youtube.com/crossdomain.xml"); 
		Security.loadPolicyFile("http://s.ytimg.com/crossdomain.xml");
			
		}
		
	}

}